package com.woniuxy.entity.dto.system;

import com.woniuxy.entity.po.system.User;
import io.micrometer.core.instrument.binder.BaseUnits;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * @BelongsProject: charging-management-platform
 * @BelongsPackage: com.woniuxy.entity.dto.system
 * @Author: Quan
 * @Date: 2025/4/7 19:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserToShowHeaderMsgDto {
	private Long id;
	private String imgSrc;

	public UserToShowHeaderMsgDto(User user) {
		BeanUtils.copyProperties(user, this);
	}
}
